package org.jradweb.tools.generator.freemarker;

public class ModelProperty extends Value {
	public ModelProperty(String name) {
		super(name);
	}
	public static final String PROPERTY_TYPE_COLUMN="column";
	public static final String PROPERTY_TYPE_MANY_TO_ONE="many_to_one";
	public static final String PROPERTY_TYPE_ONE_TO_MANY="one_to_many";
	public static final String PROPERTY_TYPE_ONE_TO_ONE="one_to_one";
	
	private Class propertyClass;
	private String propertyType;
	private String columnName;
	private Value listItemName;
	
	public Value getListItemName() {
		return listItemName;
	}
	public void setListItemName(Value listItemName) {
		this.listItemName = listItemName;
	}
	public Class getPropertyClass() {
		return propertyClass;
	}
	public void setPropertyClass(Class propertyClass) {
		this.propertyClass = propertyClass;
	}

	public String getColumnName() {
		return columnName;
	}
	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}
	public String getPropertyType() {
		return propertyType;
	}
	public void setPropertyType(String propertyType) {
		this.propertyType = propertyType;
	}
}
